using System.Web.Core;

namespace Forum.Business
{
    public class PostRequest : TEntityRequest<Post>
    {
        public PostRequest()
        {
            EntityId = GetParameterValue<int>(ForumParameterName.PostId);
        }
    }
    public class PostListRequest : TEntityListRequest<Post>
    {
        private int? threadId = GetParameterValue<int?>(ForumParameterName.ThreadId);

        public int? ThreadId
        {
            get
            {
                return threadId;
            }
            set
            {
                threadId = value;
            }
        }
    }
    public class PostReply : EntityReply
    {
    }
}